package com.open.capacity.exam.service;

import com.open.capacity.common.model.ExamPaperUser;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;
import com.open.capacity.exam.vo.CheckPaper;
import com.open.capacity.exam.vo.ExamAnswerVo;
import com.open.capacity.exam.vo.PaperVo;

import java.util.List;
import java.util.Map;

public interface ExamService {
    PageResult<PaperVo> findExam(Map<String, Object> param);

    Result answer(String userid,Integer expaid,Integer[] quesid,String[] answer);

    PageResult<ExamPaperUser> findAnswer(Map<String, Object> param);

    PageResult<ExamAnswerVo> findResult(Map<String, Object> param);

    PageResult<PaperVo> findSubmitExam(Map<String, Object> param);

    Result updateExam(List<CheckPaper> checkPapers);
}
